#include"ShareMemoey.hpp"

int main()
{
    shm.Create();
    shm.Attach();

    //在此通信
    while(true)
    {
        printf("%s\n",(char*)shm.GetAddr());
        sleep(2);
    }

    shm.DeAttch();
    shm.Destroy();
    return 0;
}